<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
	<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>讯龙防伪溯源系统</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="讯龙防伪溯源系统由北理工夸克工作室研发制作，主要提供条形码、二维码、隐形码等标签产品的在线防伪功能。" />
	<meta name="keywords" content="防伪码 , 二维码 , 溯源, 防串货" />
	

  

  	<!-- Facebook and Twitter integration -->
	<meta property="og:title" content=""/>
	<meta property="og:image" content=""/>
	<meta property="og:url" content=""/>
	<meta property="og:site_name" content=""/>
	<meta property="og:description" content=""/>
	<meta name="twitter:title" content="" />
	<meta name="twitter:image" content="" />
	<meta name="twitter:url" content="" />
	<meta name="twitter:card" content="" />

	<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
	<link rel="shortcut icon" href="favicon.ico">

	<!-- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic,700' rel='stylesheet' type='text/css'> -->
	
	<!-- Animate.css -->
	<link rel="stylesheet" href="css/animate.css">
	<!-- Icomoon Icon Fonts-->
	<link rel="stylesheet" href="css/icomoon.css">
	<!-- Bootstrap  -->
	<link rel="stylesheet" href="css/bootstrap.css">
	<!-- Flexslider  -->
	<link rel="stylesheet" href="css/flexslider.css">
	<!-- Theme style  -->
	<link rel="stylesheet" href="css/style.css">

	<!-- Modernizr JS -->
	<script src="js/modernizr-2.6.2.min.js"></script>
	<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	<!-- FOR IE9 below -->
	<!--[if lt IE 9]>
	<script src="js/respond.min.js"></script>
	<![endif]-->

	</head>
	<body>
	
	
	<div id="fh5co-page">

	<!-- 导航栏 -->
	<header id="fh5co-header" role="banner">
		<div class="container">
			<div class="header-inner">
				<h1><a href="index.html">讯龙高新<span>.</span></a></h1>
				<nav role="navigation">
					<ul>
						<li><a href="scode.html">防伪查询</a></li>
						<li><a href="trace.html">溯源查询</a></li>
						<li><a href="login.html">会员积分</a></li>
						<li><a href="prev.html">新媒体区</a></li>
						<!-- <li><a href="about.html">关于我们</a></li> -->
						<li><a href="contact.html">联系反馈</a></li>
						<li class="cta"><a href="http://sys.gdxunlong.cn/admin/">TA System</a></li>
					</ul>
				</nav>
			</div>
		</div>
	</header>
	
	<!-- 广告栏：防伪码输入框 -->
	<aside id="fh5co-hero" class="js-fullheight">
		<div class="flexslider js-fullheight">
			<ul class="slides">
		   	<li style="background-image: url(images/slide_1.jpg);">
		   		<div class="overlay-gradient"></div>
		   		<div class="container">
		   			<div class="col-md-10 col-md-offset-1 text-center js-fullheight slider-text">
		   				<div class="slider-text-inner">
		   					<h2>防伪查询 - Security Check</h2>
	   						<!-- <form class="news-letter" action="驰荣的接口" method="post"> -->
		   						<div class="row">
									<div class="col-sm-8">
										<div class="form-group">
											<input id="scode_input" class="form-control" placeholder="请在此输入防伪码信息" type="text">
										</div>
									</div>
									<div class="col-sm-2">
										<div class="form-group">
											<input name="btn_query" id="btn_query" value="Send Check" class="btn btn-primary btn-lg" type="submit" onclick="scode_query()">
										</div>
									</div>
								</div>
							<!-- </form> -->
		   				</div>
		   			</div>
		   		</div>
		   	</li>
		  	</ul>
	  	</div>
	</aside>

	<!-- 查询结果一：商品信息、企业信息 -->
	<div id="info" class="fh5co-about animate-box" style="display: none;">
		<div class="col-md-6 col-md-offset-3 text-center fh5co-heading">
			<h2>查询结果</h2>
			<p>该产品为：
				<strong id="product_name">天禾芥末酱</strong>
				正品。本次查询为第<a><strong id="query_times">4</strong></a>次查询。
			</p>
			<p>
				<strong id="product_number">商品编号：1303056</strong> . &nbsp;&nbsp;&nbsp;
				<strong id="product_spec">商品规格：天禾43g</strong> . &nbsp;&nbsp;&nbsp;
				<strong id="product_model">商品型号：60.00g</strong> . </p>
			<p>产品介绍：
				<strong id="product_introduce">其由芥末粉或山葵，辣根经发制、调配而成的一种常见调味品，具有强烈的刺激性气味和清爽的味觉感受。</strong>
			</p>
		</div>	
		<div class="container">
			<div class="col-md-12">
				<figure>
					<img src="images/wasabi.jpg" alt="Free HTML5 Template" class="img-responsive">
				</figure>
			</div>
			<div class="col-md-8 col-md-push-4">
				<h2>企业介绍</h2>
				<p>&nbsp;&nbsp;&nbsp;
					<strong id="company_introduce">珠海一统实业有限公司成立于(2012-11-25)，位于:广东省珠海市香洲区白合街5号，企业注册资金 7739（万元）。主要提供:从事调味品生产等产品与服务，对于产品与服务，我们严格进行质量管理，以满足用户需求为已任，力争为用户提供优质完善的解决方案。</strong>
				</p>
				<p><a href="#" class="btn btn-primary btn-outline with-arrow">Learn more <i class="icon-arrow-right"></i></a></p>

			</div>
		</div>
	</div>

	<!-- 查询结果二：历史防伪查询记录 -->
	<div id="records" class="fh5co-team animate-box" style="display: none;">
		<div class="container">
			
				<div class="row">
					<div class="col-md-6 col-md-offset-3 text-center fh5co-heading">
						<h2>历史查询记录</h2>
						<p>若此防伪码被多次查询，此处将可以查询时间倒序展示所有查询历史记录。 </p>
					</div>
					<div id="log">
						<div class="col-md-4 fh5co-staff">
							<h3>138.79.23.12</h3>
							<h4>广东 · 珠海</h4>
							<h4>2018.3.12 · 12：30</h4>
							<p>第<a><strong>3</strong></a>次查询.</p>
						</div>
						<div class="col-md-4 fh5co-staff">
							<h3>192.83.12.19</h3>
							<h4>湖南 · 长沙</h4>
							<h4>2018.3.1 · 2：30</h4>
							<p>第<a><strong>2</strong></a>次查询.</p>
						</div>
						<div class="col-md-4 fh5co-staff">
							<h3>171.17.23.42</h3>
							<h4>福建 · 福州</h4>
							<h4>2018.1.15 · 17：10</h4>
							<p>第<a><strong>1</strong></a>次查询.</p>
						</div>
					</div>
				</div>
		</div>
	</div>

	

	
	<footer id="fh5co-footer" role="contentinfo">
	
		<div class="container">
			<div class="col-md-3 col-sm-12 col-sm-push-0 col-xs-12 col-xs-push-0">
				<h3>About us</h3>
				<p>讯龙高新 是一家致力于改造传统条码标签行业的高新科技公司，为中国传统行业在标签防伪、溯源追踪领域的升级改造提供一站式的解决方案. </p>
				<p><a href="#" class="btn btn-primary btn-outline with-arrow btn-sm">企业官网 <i class="icon-arrow-right"></i></a></p>
			</div>
			<div class="col-md-6 col-md-push-1 col-sm-12 col-sm-push-0 col-xs-12 col-xs-push-0">
				<h3>Our Services</h3>
				<ul class="float">
					<li><a href="#">标签及包装打印</a></li>
					<li><a href="#">标签防伪 &amp; 隐形码防伪</a></li>
					<li><a href="#">溯源追踪及查询</a></li>
					<li><a href="#">会员奖励及积分管理</a></li>
				</ul>
				<ul class="float">
					<li><a href="#">一物一码方案</a></li>
					<li><a href="#">信息化咨询及改造</a></li>
					<li><a href="#">定制化防伪溯源</a></li>
					<li><a href="#">区域防串货系统</a></li>
				</ul>

			</div>

			<div class="col-md-2 col-md-push-1 col-sm-12 col-sm-push-0 col-xs-12 col-xs-push-0">
				<h3>Follow Us</h3>
				<ul class="fh5co-social">
					<li><a href="#"><i class="icon-twitter"></i></a></li>
					<li><a href="#"><i class="icon-facebook"></i></a></li>
					<li><a href="#"><i class="icon-google-plus"></i></a></li>
					<li><a href="#"><i class="icon-instagram"></i></a></li>
				</ul>
			</div>
			
			
			<div class="col-md-12 fh5co-copyright text-center">
				<p>&copy; 2018	 广东讯龙高新技术有限公司 All Rights Reserved. <span>Designed with <i class="icon-heart"></i> by <a href="#/" target="_blank">珠海夸克</a> ·ZHBIT </span></p>	
			</div>
			
		</div>
	</footer>
	</div>
	
	
	<!-- jQuery -->
	<script src="js/jquery.min.js"></script>
	<!-- jQuery Easing -->
	<script src="js/jquery.easing.1.3.js"></script>
	<!-- Bootstrap -->
	<script src="js/bootstrap.min.js"></script>
	<!-- Waypoints -->
	<script src="js/jquery.waypoints.min.js"></script>
	<!-- Flexslider -->
	<script src="js/jquery.flexslider-min.js"></script>

	<!-- MAIN JS -->
	<script src="js/main.js"></script>

	<!-- 异步查询防伪码 -->
	<script type="text/javascript">
		// 页面id参数说明——
		// 	1.product_name：产品名称
		// 	2.query_times：当前的防伪查询次数
		// 	3.product_number：产品编号
		// 	4.product_spec：产品规格
		// 	5.product_model：产品型号
		// 	6.product_introduce：产品介绍
		// 	7.prudoct_img:产品图片url
		// 	8.company_introduce：企业介绍
		// 	9.cmopany_url：企业官网
		function scode_query(){
			$.get(
				//"http://sys.gdxunlong.cn/index.php/scode/check?scode="+$("#scode_input").val(),
				"http://xl.zch-zcr.top/index.php/scode/check?scode=clo0DE3EG9G0",
				function(result){
					product_info = result.data.product;
					company_info = result.data.product.company;
					query_times = result.data.querid;
					token = result.data.token;

					$("#product_name").html(product_info.name);
					$("#query_times").html(query_times);
					$("#product_number").html(product_info.serial_number);
					$("#product_spec").html(product_info.spec);
					$("#product_model").html(product_info.model);
					$("#product_introduce").html(product_info.introduce);
					$("#product_name").html(product_info.name);
					$("#product_name").html(product_info.name);
					$("#info").css("display","block");

					scode_log(token);
					alert("防伪查询成功！");
			});
		}

		function scode_log(token){
			$.get(
				//"http://sys.gdxunlong.cn/index.php/scode/log?token="+token+"&page="+currentPage,
				"http://xl.zch-zcr.top/index.php/scode/log?token="+token,
				function(result){
					times = result.data.count;
					offset = result.offset;
					logs = result.data;

					var tab = "";
					for(i in logs.data){
						tab += "<div class='col-md-4 fh5co-staff'>"
							+"<h3>"+ logs.data[i].location_ip +"</h3>"
							+"<h4>"+ logs.data[i].area +"</h4>"
							+"<h4>"+ logs.data[i].query_time +"</h4>"
							+"<p>第<a><strong>"+ String(times-i) +"</strong></a>次查询.</p>"
							+"</div>"
					}
					$("#log").html(tab);
					$("#records").css("display","block");
			});
		}
	</script>

	</body>
</html>

